06. Slicing Multiple Strings

Slicing Multiple Strings

Start Quiz:

# Use string slicing to store everything before "NOUN" in substring1,
# everything after "NOUN" and before "VERB" in substring2, and everything after "VERB" 
# in substring3.

sentence = "A NOUN went on a walk. It can VERB really fast."
substring1 = sentence[:]
substring2 = sentence[:]
substring3 = sentence[:]

Solution: